﻿using FreeSql.DataAnnotations;
using IMES.Common.Dtos;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IMES.Common.Domain.KeepModel
{
    /// <summary>
    /// 部门表
    /// </summary>
    public class Department: Audit
    {


        /// <summary>
        /// 组织ID
        /// </summary> 
        [Column(IsIdentity = true, IsPrimary = true)] 
        public int OrgId { get; set; }
        /// <summary>
        /// 组织名称
        /// </summary>
        public string OrgName { get; set; }
        /// <summary>
        /// 组织编码
        /// </summary>
        public string OrgCode { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 备注（简介）
        /// </summary>
        public string Remark { get; set; }
    }
}
